package se137.hrbust.hlgshopping137.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import se137.hrbust.hlgshopping137.entity.Prosku137;
import se137.hrbust.hlgshopping137.service.Prosku137Service;

@RestController
@RequestMapping("/prosku")
public class ProskuController137 {
    @Autowired
    Prosku137Service prosku137Service;
    @RequestMapping("/get/{id}")
    public Prosku137 getProskuById137(@PathVariable int id){
        return prosku137Service.getById(id);
    }

}
